package com.example.eeuse.model.ee;

import lombok.Data;
import org.dromara.easyes.annotation.IndexField;
import org.dromara.easyes.annotation.IndexName;
import org.dromara.easyes.annotation.rely.FieldType;

@Data
@IndexName("taskmonitor")
public class TaskMonitor {

    private String id;
    @IndexField(fieldType = FieldType.KEYWORD)
    private String type;
    @IndexField(fieldType = FieldType.KEYWORD)
    private String channelName;
    private Integer cardNumber;
    private Integer successNumber;
    private Integer failNumber;
    private Integer executeTime;
    @IndexField(fieldType = FieldType.DATE, dateFormat = "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis")
    private String endTime;
    @IndexField(fieldType = FieldType.DATE, dateFormat = "yyyy-MM-dd HH:mm:ss||yyyy-MM-dd||epoch_millis")
    private String createTime;
//    @IndexField(fieldType = FieldType.KEYWORD)
//    private Integer mysqlId;
}
